//
//  HBSFLCell.m
//  Hxcsfw
//
//  Created by 企友软mac on 2018/6/19.
//  Copyright © 2018年 企友软mac. All rights reserved.
//

#import "HBSFLCell.h"

@implementation HBSFLCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)btnClick:(UIButton *)sender {
    if (sender.tag == 0) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"swdj";
        [WShareUtil sharedData].AnswerSortNavTitle = @"税务登记";
    }else if (sender.tag == 1) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"swrd";
        [WShareUtil sharedData].AnswerSortNavTitle = @"税务认定";
    }else if (sender.tag == 2) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"fpbl";
        [WShareUtil sharedData].AnswerSortNavTitle = @"发票办理";
    }else if (sender.tag == 3) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"sbns";
        [WShareUtil sharedData].AnswerSortNavTitle = @"申报纳税";
    }else if (sender.tag == 4) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"yhbl";
        [WShareUtil sharedData].AnswerSortNavTitle = @"优惠办理";
    }else if (sender.tag == 5) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"note";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"zmbl";
        [WShareUtil sharedData].AnswerSortNavTitle = @"证明办理";
    }
    [[NSNotificationCenter defaultCenter] postNotificationName:@"HWenBaNotification" object:nil];
}

@end
